package com.ellricky.baselib.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class IdNameEntity implements Serializable {

    private static final long serialVersionUID = -80027787486500588L;

    @SerializedName(value = "id", alternate = {"value", "clueUserId", "class_room_id"})
    private String id;
    @SerializedName(value = "name", alternate = {"cardName", "className", "activityName", "class_name"})
    private String name;
    @SerializedName(value = "stage_age")
    private String age;

    public IdNameEntity(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public String getAge() {
        return age;
    }
    public void setName(String name) {
        this.name = name;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
